<?php
//include('Test.php'); //这个是你下面实例化的类
include_once './Test.php';
$input = file_get_contents("php://input");
$post=json_decode($input,true);
$productKey = $post['productKey'];
$deviceName = $post['device_sn'];
		
	$SmsDemo = new Tests();
	$data_qidong = $SmsDemo->registDeviceTest($productKey,$deviceName);

    print_r(json_encode($data_qidong));
  
